package com.own.business.message.center.entity.query;

import com.own.component.common.base.entity.BaseQuery;
import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * MessageCenterGroupChildQuery
 *
 * @author chenxueli
 * @date 2023-11-13 18:17:40
 */
@Schema(title = "消息中心分组子级" + ConstantBeanSuffix.QUERY)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class MessageCenterGroupChildQuery extends BaseQuery implements Serializable {

    @Schema(title = "分组id")
    private Long groupId;

    @Schema(title = "分组key（冗余）")
    private String groupKey;

    @Schema(title = "消息名称")
    private String name;

    @Schema(title = "消息key")
    private String messageKey;

    @Schema(title = "顺序，默认数字越小约在前面")
    private Integer sortOrder;

}
